<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<fieldset><legend>医生</legend>
<table class="list">
	<thead>
		<tr>
			<th>姓&nbsp;&nbsp;名</th>
			<th>电&nbsp;&nbsp;话</th>
			<th>手&nbsp;&nbsp;机</th>
			<th>备&nbsp;&nbsp;注</th>
			<th>操&nbsp;&nbsp;作</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${doctors}" var="doctor" varStatus="varStatus">
			<c:set var="tr_class"
				value="${varStatus.index % 2 == 0 ? 'odd' : 'even'}" />
			<tr class="${tr_class}">
				<td><c:out value="${doctor.doctorName}" /></td>
				<td><c:out value="${doctor.doctorPhone}" /></td>
				<td><c:out value="${doctor.doctorMobile}" /></td>
				<td><c:out value="${doctor.doctorRemark}" /></td>
				<td><c:url value="/doctor/view.do" var="doctorView">
					<c:param name="doctorId" value="${doctor.doctorId}" />
				</c:url> <a href="${doctorView}">[查&nbsp;看]</a></td>
			</tr>
		</c:forEach>
	</tbody>
</table>
</fieldset>
<div style="text-align: center; height: 25px;"><a class="submit"
	href="${ctx}/doctor/new.do">新&nbsp;&nbsp;&nbsp;建</a></div>